package com.freecloud.javabasics.design.factory.abstrac;

/**
 * 具体工厂
 *
 * 可依据某些参数，再根据不同的类型实例化
 *
 * @Author: maomao
 * @Date: 2020-02-29 22:03
 */
public class ConcreteFactory implements AbstracFactory {

    @Override
    public IM newIM() {
        return new QQIm();
    }

    @Override
    public Game newGame() {
        return new LOLGame();
    }
}
